package com.tedu.sales.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SalesStatisticsVO {
    @ApiModelProperty(value = "统计ID")
    private Long statId;
    @ApiModelProperty(value = "药品ID")
    private Long medicineId;
    @ApiModelProperty(value = "销售日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date salesDate;
    @ApiModelProperty(value = "销售数量")
    private Long quantitySold;
    @ApiModelProperty(value = "收入")
    private Double revenue;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
